﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Website/Views/Shared/Product.Master" Inherits="System.Web.Mvc.ViewPage<List<ECostRecord>>"  %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <% Html.RenderPartial("CustomerMenu"); %>
    <div class="lc">
        <table class="orderView textCenter">
            <thead>
                <tr style="background-color: #C6D9F0;">
                    <td class="textLeft">
                        消费项目
                    </td>
                    <td class="width80">
                        消费金额
                    </td>
                    <td class="width80">
                        订单编号
                    </td>
                    <td style="width:120px;">
                        消费时间
                    </td>
                </tr>
            </thead>
            <% foreach (ECostRecord item in Model)
               {
            %>
            <tr>
                <td class="textLeft">
                    <%= item.CostItem%>
                </td>
                <td>
                    <%= item.Price %>
                </td>
                <td>
                    <%= Html.ActionLink(item.OrderId, "OrderView", new { orderId = item.OrderId }, new { target = "_blank" })%>
                </td>
                <td>
                    <%= item.Cost_Time%>
                </td>
            </tr>
            <%
                } %>
        </table>
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cssLink" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="jsLink" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="cssContent" runat="server">
    <style type="text/css">
        .lc
        {
            margin: 10px auto;
            background-color: #fff;
            border: solid 1px #A2CBFF;
            border-bottom-width: 0px;
        }
        .lc table
        {
            border-collapse: collapse;
            width: 100%;
        }
        .lc table td
        {
            overflow: hidden;
            padding: 5px;
            vertical-align: middle;
            border-bottom: solid 1px #A2CBFF;
            text-align: center;
            line-height: 1.5em;
        }
    </style>
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="jsContent" runat="server">
</asp:Content>
